package tjs.study.mini.mybatismini.config.annotion;

import org.springframework.context.annotation.Import;
import org.springframework.core.annotation.AliasFor;
import tjs.study.mini.mybatismini.config.MybatisAutoConfiguration;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(MybatisAutoConfiguration.class)
public @interface MiniBatisMapperScanner {
    @AliasFor("value")
    String[] basePackages() default {};

    String[] value() default {};
}
